//package com.plian.system.controller.im;
//
//import com.plian.Tools.base.BaseController;
//import com.plian.system.dto.im.InvestmentReportDTO;
//import com.plian.system.dto.im.ProjectReportDTO;
//import com.plian.system.model.R;
//import com.plian.system.service.im.IInvestmentReportService;
//import com.plian.system.vo.im.InvestmentReportVO;
//import com.plian.system.vo.report.ChartsVO;
//import com.plian.system.vo.report.PieChartVO;
//import com.plian.system.vo.report.ReportReturnVO;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.AllArgsConstructor;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//
///**
// * @Author: Take-off
// * @Description: TODO
// * @Date: 2023/1/9 3:10 PM
// * @Version: 1.0
// **/
//@RestController
//@AllArgsConstructor
//@RequestMapping("api/investmentreport")
//@Api(value = "InvestmentReportController", tags = "投资分析 控制器")
//public class InvestmentReportController extends BaseController {
//
//    private final IInvestmentReportService investmentReportService;
//
//    @PostMapping("/getOverview")
//    @ApiOperation(value = "投资总览", notes = "传入 dto")
//    public R<InvestmentReportVO> getOverview(@RequestBody InvestmentReportDTO dto) {
//        return R.data(investmentReportService.getOverview(dto));
//    }
//
//    @PostMapping("/getExecutionAmount")
//    @ApiOperation(value = "投资计划及执行", notes = "传入 dto")
//    public R<ChartsVO> getExecutionAmount(@RequestBody InvestmentReportDTO dto) {
//        return R.data(investmentReportService.getExecutionAmount(dto));
//    }
//
//    @PostMapping("/getExecutionPie")
//    @ApiOperation(value = "投资金额分布", notes = "传入 dto")
//    public R<PieChartVO> getExecutionPie(@RequestBody InvestmentReportDTO dto) {
//        return R.data(investmentReportService.getExecutionPie(dto));
//    }
//
//    @PostMapping("/project-report")
//    @ApiOperation(value = "项目状态报表", notes = "传入 dto")
//    public R<ReportReturnVO> getProjectReport(@RequestBody ProjectReportDTO dto) {
//        return R.data(investmentReportService.getProjectReport(dto));
//    }
//}
